
public class Monster {
    public void attack() {
        System.out.println("Monster is attacking!");
    }
    public void defend() {
        System.out.println("Monster is defending!");
    }
}